package com.eastfair.venuebooking.api;

import com.eastfair.core.base.R;
import com.eastfair.venueservice.dto.ExhibitionSettlementDTO;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

/**
 * @author Du Xiaobo
 * @date 2023/4/12 9:44
 */
@FeignClient(value = "venue-services-manage/exhibitionSettlement")
public interface ExhibitionSettlementFeign {

    /**
     * 更新结算单
     * @param dto
     * @return
     */
    @PostMapping("/updateSettlement")
    public R<Boolean> updateSettlement(@RequestBody ExhibitionSettlementDTO dto);
}
